package mju.cxf.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import mju.cxf.dto.ProductSpecificationsDTO;
import mju.cxf.entity.ProductSpecifications;
import mju.cxf.vo.ProductSpecificationsListVO;
import mju.cxf.vo.ProductSpecificationsVO;


public interface ProductSpecificationsService extends IService<ProductSpecifications>{
    Page<ProductSpecificationsVO> selectPage(String name, Integer state, Integer minPrice, Integer maxPrice, Integer minNumber, Integer maxNumber, int current, int size);

    boolean updateProduct(ProductSpecificationsDTO productSpecificationsDTO);


     ProductSpecifications selectSpecifications(int id);
    boolean deleteProduct(Integer id);

    boolean saveProductSpecifications(ProductSpecificationsDTO productSpecificationsDTO);

    ProductSpecificationsListVO userPageBySpecifications(int id, int current, int size);

    ProductSpecifications uSelectProductSpecificationsById(Integer id);
}
